{foreach $jsArr as $js}
{if $js}
<script type="text/javascript" src="{$js_path}{$js}"></script>
{/if}
{/foreach}

</body>
</html>